package com.qlmjx.sevalopos.View;

import android.content.Context;
import android.os.Bundle;
import android.widget.TextView;

import com.qlmjx.sevalopos.R;


/**
 * 退出登录
 * @author Administrator
 */
public class PaySuccessDialog extends BaseDialog {


	private String text;
	private String text1;

	public PaySuccessDialog(Context context) {
		super(context);
		this.context = context;
	}

	public PaySuccessDialog(Context context, String text, String text1, int theme, LeaveMyDialogListener listener) {
		super(context, theme,listener);
		this.context = context;
		this.listener = listener;
		this.text = text;
		this.text1= text1;
	}

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		this.setContentView(R.layout.dialog_watting);
		this.setCanceledOnTouchOutside(false);
		TextView tv_content = (TextView) findViewById(R.id.tv_content);
		TextView tv_bz= (TextView) findViewById(R.id.tv_bz);
		tv_content.setText(text);
		tv_bz.setText(text1);
	}

}